Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use create_task when calling _read_stream during test_utils #1052

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

muellerzr
Copy link
Collaborator

Gets rid of:

================================================================ warnings summary =================================================================
tests/test_cli.py::AccelerateLauncherTester::test_config_compatibility
tests/test_cli.py::AccelerateLauncherTester::test_config_compatibility
tests/test_cli.py::AccelerateLauncherTester::test_config_compatibility
tests/test_cli.py::AccelerateLauncherTester::test_no_config
  /home/zach/accelerate/accelerate/src/accelerate/test_utils/testing.py:339: DeprecationWarning: The explicit passing of coroutine objects to asyncio.wait() is deprecated since Python 3.8, and scheduled for removal in Python 3.11.
    await asyncio.wait(

when running tests on py 3.9

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Feb 9, 2023

The documentation is not available anymore as the PR was closed or merged.

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@muellerzr muellerzr merged commit 028b581 into main Feb 9, 2023
@muellerzr muellerzr deleted the fix-depr branch February 9, 2023 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants